#pragma once

#include "framework.h"

class _Coordinate
{
protected:
	union {
		struct
		{
			float _11, _12;
			float _21, _22;
		};
		float m[2][2];
	};
};

using Column = std::vector<float>;

class Coordinate
{
public:
	//Coordinate operator+(const Coordinate& other)const;
	//Coordinate operator-(const Coordinate& other)const;
	//Coordinate operator*(const Coordinate& other)const;
	Coordinate& operator+=(const Coordinate& other);

	float _a;
	float _x;
	float _y;
};

Coordinate rotate(Coordinate& pos, Coordinate& center);

